home *** CD-ROM | disk | FTP | other *** search
/ Aminet 25 / Aminet 25 (1998)(GTI - Schatztruhe)[!][Jun 1998].iso / Aminet / util / cli / ksc_GrepMem.readme < prev    next >
Encoding:
Text File  |  1998-05-05  |  2.8 KB  |  70 lines

  1. Short:    Search memory for text
  2. Author:   Kyzer/CSG
  3. Uploader: Kyzer/CSG <kyzer@4u.net>
  4. Type:     util/cli
  5.  
  6. Grepmem is named after a unix program that hunts through files for a string
  7. or  a pattern. Except GrepMem doesn't do patterns. It searches for an exact
  8. match of the string you supply.
  9.  
  10. You  can also define which part of memory to search - if you don't, it will
  11. assume to search all chip memory.
  12.  
  13. The program is pure and can be made resident.
  14.  
  15. Of  course it is not compatible with tools such as Enforcer and CyberGuard,
  16. for obvious reasons.
  17.  
  18. Requires 2.0 or better.
  19.  
  20. This is version 1.2: improvements include
  21.  - code size almost halved (724 bytes instead of 1400)
  22.  - much better hexadecimal number parsing
  23.  - faster search
  24.  - can now break out of search with CTRL-C
  25.  
  26.  
  27. HINTS:
  28. To  define  a  search  area,  you must supply both a start and end address,
  29. which  both must be valid hexadecimal numbers (these can begin with '0x' or
  30. '$' if you like).
  31.  
  32. You  do not have to, but it is a good idea to put "double quotes" round the
  33. string  that  you  want  to  search for. Why? Well, getting your input into
  34. memory  and  printing  it  out a few times will leave some copies around in
  35. memory. If you put quotes around your string, it will search for the string
  36. WITHOUT THE QUOTES, and if it finds a copy that *is* in quotes, it will NOT
  37. match it.
  38.  
  39. There is the PADZERO option which, if enabled, means GrepMem will print the
  40. addresses of matches with full 8 byte addresses, instead of using spaces.
  41.  
  42. EXAMPLES:
  43. look through chipmem for a powerpacker file
  44. 1> grepmem "PP20"
  45. look through the amiga rom for references to Amiga
  46. 1> grepmem "Amiga" f80000 1000000
  47.  
  48. ****************************************************************************
  49. *          THIS PROGRAM IS PART OF THE "KYZER'S SMALLS" COLLECTION         *
  50. *                                                                          *
  51. *      The KyzSmlClxn is a set of very small, but useful CLI commands.     *
  52. *                                                                          *
  53. *   Source in assembler is included. Install by copying the command to C:  *
  54. *                                                                          *
  55. *     Kyzer/CSG, 49 Fairview Road, AB22 8ZG, Scotland ---- kyzer@4u.net    *
  56. ****************************************************************************
  57.  
  58.  
  59. ============================= Archive contents =============================
  60.  
  61. Original  Packed Ratio    Date     Time    Name
  62. -------- ------- ----- --------- --------  -------------
  63.      724     619 14.5% 27-Apr-98 06:42:14  GrepMem
  64.     1788     801 55.2% 24-Apr-98 01:27:36  GrepMem.asm
  65.     2337    1099 52.9% 24-Apr-98 00:40:34  GrepMem.readme
  66.      812     427 47.4% 24-Apr-98 01:28:32  hex.asm
  67.     2447    1044 57.3% 24-Apr-98 01:27:44  search.asm
  68. -------- ------- ----- --------- --------
  69.     8108    3990 50.7% 27-Apr-98 19:11:02   5 files
  70.